package com.javatest.springboot.listener;

import java.util.Arrays;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/1/6 19:52
 */
@Component
public class HelloCommandLineRunner implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        System.out.println("CommandLineRunner run" + Arrays.toString(args));
    }
}
